package entity.maintenance;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 保养经验
 * </p>
 *
 * @author beisheng
 * @since 2023-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MaintenanceExperience implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "experience_id", type = IdType.AUTO)
    private Integer experienceId;

    /**
     * 保养经验编码
     */
    private String experienceCoding;

    /**
     * 保养经验名称
     */
    private String experienceName;

    /**
     * 设备名称（关联设备）
     */
    private String associatedApparatus;

    /**
     * 状态
     */
    private Integer experienceState;

    /**
     * 保养要求
     */
    @TableField("Maintenance_requirement")
    private String maintenanceRequirement;

    /**
     * 备注
     */
    private String experienceComment;

    /**
     * 更换备件(数组形式存储)
     */
    private String sparePart;

    /**
     * 操作人
     */
    private String operator;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 删除标识
     */
    private Integer deleteFlag;
    /**
     * 设备编号
     */

   private String equipmentCoding;
    /**
     * 设备类型
     */
   private Integer equipmentType;
}
